package com.corpdata.common.upload.service;

import java.io.IOException;
import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import com.corpdata.common.upload.entity.SysAttachment;
import com.corpdata.core.base.BaseService;

/**
 * 
 * @author wu
 * @email 64088839@qq.com
 * @date 2018-07-26 10:32:32
 * 
 */
public interface SysAttachmentService extends BaseService<SysAttachment>{
	//新增附件
	Map<String, Object> insert(String id, HttpServletRequest request) throws IOException;
	//根据实体id获取附件列表
	Object findByDocUnid(String id);
	void updateDel(String fileId, String id);
	SysAttachment selectId(String id);
}
